package com.ydkj.a37e_mall.Classes.Model.Request;

import com.ydkj.a37e_mall.Resource.Utils.Rsa;

import static com.ydkj.a37e_mall.Classes.Acitivity.BaseActivity.BaseActivity.page;

/**
 * Created by Administrator on 2017/2/18.
 */

public class DeleteFavorReq {
    private String id;
    private String secret;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String urlString() {
        return "favor/delete/";
    }

    public String getSecret() {

        String string = "id=" + id;
        try {
            Rsa rsa = new Rsa();
            secret = rsa.encryptByPublic(string);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return secret;
    }
}
